home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group94a.txt
/
000124_icon-group-sender _Tue May 10 13:18:43 1994.msg
< prev
next >
Wrap
Internet Message Format
|
1994-08-19
|
1KB
Received: by cheltenham.cs.arizona.edu; Tue, 10 May 1994 15:00:42 MST
Date: Tue, 10 May 94 13:18:43 PDT
From: kwalker@sirtur.premenos.com (Ken Walker)
Message-Id: <9405102018.AA11126@sirtur.premenos.com>
To: eschen@molbio.cbs.umn.edu
Subject: Re: IconImplementQues: WhenShouldIPollKeyboardForInterrupt
Cc: icon-group@cs.arizona.edu
X-Sun-Charset: US-ASCII
Content-Length: 767
Status: R
Errors-To: icon-group-errors@cs.arizona.edu
> From: "Art Eschenlauer" <eschen@molbio.cbs.umn.edu>
>
> I am modifying the source code for mac standalone icon version 8. I would
> like to poll the keyboard frequently to see if the user is trying to
> interrupt the process (for instance, to get out of an infinite loop...).
There is a function pollevent() used in windowing versions of Icon.
Presently it is under control of "#define Polling" which in turn is
under control of "#define XIcon". I think you can turn on Polling
independant of XIcon and supply your own pollevent() function, but
I haven't tried it. I'm not sure how this will fit with a future
version of Icon that does windowing on the MAC; you might have to
do some reorganization of the code at that point.
Ken Walker, kwalker@premenos.com